<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="com.shsh.safemanage.model.PostCheck"%>
<%@page import="com.shsh.safemanage.dao.PostCheckDao"%>
<%@page import="com.shsh.safemanage.dao.DaoCreator"%>
<%@page import="com.shsh.safemanage.util.Constants"%>
<%
{
	
	Long postcheckID = 0l;
	String postcheckIDStr = (String)request.getParameter(Constants.REQUEST_PARAMETER_POSTCHECK_ID);
	try{
		postcheckID = Long.parseLong(postcheckIDStr);
	} catch (Exception e){
		
	}
	
	PostCheckDao postcheckDao = DaoCreator.createPostCheckDao();
	PostCheck postcheck = postcheckDao.getPostCheck(postcheckID);
	if(postcheck!=null){
%>
<div class="hider" id="hider">
	<span>&nbsp;</span>
</div>
<div class="position">
	<img src="images/position2.jpg" style="padding: 7px 9px; float: left;" />当前位置：上海高桥分公司问题管理平台 &gt;&gt; <%=postcheck.getCheckName() %>岗检
</div>
<div class="tt"><%=postcheck.getCheckName() %>岗检</div>
<div class="content">
	<table border="0" style="width:100%;align:center; margin-top: 5px">
		<tr>
			<td style="vertical-align: middle;" class="td3" align="right" width="43%">
			 	<img src="images/arrow.jpg" />
			</td>
			<td align="left" class="td3">
				<a href="javascript:" onclick="openPostcheckStandardList();" style="font-weight: bold; font-size: 12pt"><%=postcheck.getCheckName()%>岗检填报</a>
			</td>
		</tr>
		<tr>
			<td style="vertical-align: middle;" class="td3" align="right" width="43%">
				<img src="images/arrow.jpg" />
			</td>
			<td align="left" class="td3">
			 	<a href="javascript:" onclick="openPostcheckBrowseEntrance()" style="font-weight: bold; font-size: 12pt"><%=postcheck.getCheckName()%>岗检浏览</a>
			</td>
		</tr>
	</table>
</div>
<script type="text/javascript">
function openPostcheckStandardList() {
	loadPageSection('<%=request.getContextPath()%>/postcheck_standard_list.jsp', 'mainContentDiv', {postcheckID: <%=postcheck.getId() %>}, true);
}
function openPostcheckBrowseEntrance() {
	loadPageSection('<%=request.getContextPath()%>/postcheck_browse_entrance.jsp', 'mainContentDiv', {postcheckID: <%=postcheck.getId() %>}, true);
}
</script>
<%
	}
}
%>